[NTG-context] Re: what about "textdisplay"?

2024-04-02 Thread Hans Hagen via ntg-context
feature. When I tried line correction, it never helped; probably I used it wrong (e.g. around section titles). linecorrection is older, textdisplay newer and both are mainly meant to position boxed content (like images) in a way so that spacing looks acceptable ... they are vboxes with spacing

[NTG-context] Re: Visually balanced columns

2024-03-27 Thread Wolfgang Schuster
vertical position -- no matter, how many lines there are in each column and how exactly they are aligned. If I understand correctly, that's how the multicols environment in LaTeX works, and that's how old-multicolumns worked -- but this module seems to be no longer supported in lmtx. I tried

[NTG-context] Visually balanced columns

2024-03-27 Thread Alexey Kryukov
Hi list, I'd like to know if its is possible to get visually balanced mixedcolumns in lmtx. For example, if I have \blank's between paragraphs, I would like them to be stretched or expanded by a such way that the bottommost lines have the same vertical position -- no matter, how many lines

[NTG-context] Re: Headertext

2024-03-27 Thread Henning Hraban Ramm
Am 26.03.24 um 17:12 schrieb Wolfgang Schuster: begin example \showframe \definetext   [chapterheader] % identifier   [header]    % vertical position (header/footer) % [text]  % horizontal position (text/margin)   [This is a custom header for \tex{chapter}] % content

[NTG-context] Re: Headertext

2024-03-27 Thread Thomas Meyer
s you have guessed \definetext is the way to create a custom header for the first page of your \chapter, the command has like \setupheadertexts a variable number of arguments. The third argument with the horizontal position can only be used when you use two or four arguments to set texts on the left a

[NTG-context] Re: Headertext

2024-03-26 Thread Wolfgang Schuster
and has like \setupheadertexts a variable number of arguments. The third argument with the horizontal position can only be used when you use two or four arguments to set texts on the left and right side but isn't in my example because a) the text position is the default and b) I pass only one argu

[NTG-context] Re: Japanese

2024-03-14 Thread Otared Kavian
> • math https://www.w3.org/TR/jlreq/#fig2_7_6 and > > https://www.w3.org/TR/jlreq/#fig2_7_62 > > • tategaki (writing vertically) > > Best regards > > > > Emanuel > > On März 2 2024, at 7:00 pm, Wolfgang Schuster > > wrote: > > Emanuel Han schrieb

[NTG-context] Re: Japanese

2024-03-14 Thread Emanuel Han via ntg-context
w3.org/TR/jlreq/#fig2_7_62 > > • tategaki (writing vertically) > > Best regards > > > > Emanuel > > On März 2 2024, at 7:00 pm, Wolfgang Schuster > > wrote: > > Emanuel Han schrieb am 01.03.2024 um 16:23: > > > > Dear Wolfgang, > > > >

[NTG-context] Re: Japanese

2024-03-13 Thread Otared Kavian
t; attached example. > > Yes, correct layout examples exist. They're all showing vertical writing, but > the rules and principles are exactly the same for horizontal writing. > > • position of the headers and footers: > https://www.w3.org/TR/jlreq/#fig1_30 > > See

[NTG-context] Re: how to include an an svg file?

2024-03-13 Thread Jean-Pierre Delange
ve problems with SVGs, use Inkscape (or some commercial alternative > like Affinity Designer or Adobe Illustrator) for PDF conversion. > >> The MWE below works correctly, even if you have to make finer adjustments to >> place the figure in a precise position on the page. As I'm in th

[NTG-context] Re: how to include an an svg file?

2024-03-13 Thread Henning Hraban Ramm
iner adjustments to place the figure in a precise position on the page. As I'm in the process of enriching and clarifying a few pages of the ConTeXt wiki and the French wikibook, I'm interested in the details concerning the position of figures, images and photos etc. So please let me know (in pri

[NTG-context] Re: how to include an an svg file?

2024-03-13 Thread Jean-Pierre Delange
gure in a precise position on the page. As I'm in the process of enriching and clarifying a few pages of the ConTeXt wiki and the French wikibook, I'm interested in the details concerning the position of figures, images and photos etc. So please let me know (in private mail) how you make your documents (a

[NTG-context] Re: Japanese

2024-03-10 Thread Jean-Pierre Delange
, but the rules and principles are exactly the same for horizontal writing. * position of the headers and footers: https://www.w3.org/TR/jlreq/#fig1_30 See my attached gongitsune.tex example how you can squeeze text in a very narrow header/footer

[NTG-context] Re: Japanese

2024-03-10 Thread Emanuel Han via ntg-context
exactly the same for horizontal writing. > > position of the headers and footers: https://www.w3.org/TR/jlreq/#fig1_30 > See my attached gongitsune.tex example how you can squeeze text in a very > narrow header/footer. > > aligning lines to the text box: https://www.w3.org/TR/j

[NTG-context] Re: Japanese

2024-03-02 Thread Wolfgang Schuster
writing. * position of the headers and footers: https://www.w3.org/TR/jlreq/#fig1_30 See my attached gongitsune.tex example how you can squeeze text in a very narrow header/footer. * aligning lines to the text box: https://www.w3.org/TR/jlreq/#fig1_3 You can use the lines key

[NTG-context] Re: Japanese

2024-03-01 Thread Emanuel Han via ntg-context
Dear Wolfgang, thank you for your valuable remarks. I integrated them, see corrected attached example. Yes, correct layout examples exist. They're all showing vertical writing, but the rules and principles are exactly the same for horizontal writing. position of the headers and footers: https

[NTG-context] Re: Japanese

2024-03-01 Thread Emanuel Han via ntg-context
be the realm and position of headings which seem complicated and for which I have no ideas. Best regards Emanuel On März 1 2024, at 8:04 am, luigi scarso wrote: > > > On Wed, 28 Feb 2024 at 20:53, Emanuel Han via ntg-context (mailto:ntg-context@ntg.nl)> wrote: > > Thank you all fo

[NTG-context] Re: Japanese

2024-02-29 Thread luigi scarso
re: > https://www.w3.org/TR/jlreq/#possibilities_for_linebreaking_between_characters > , and all affected characters are listed here: > https://www.w3.org/TR/jlreq/tables/table_en3.pdf > > We have different rules, depending what kind of character is surpassing > the text width (or is in its last

[NTG-context] Re: Japanese

2024-02-29 Thread Jeong Dal via ntg-context
s are listed here: > https://www.w3.org/TR/jlreq/tables/table_en3.pdf > > We have different rules, depending what kind of character is surpassing the > text width (or is in its last position). > > Rule 1: > > Before closing brackets, closing quotation marks, iterati

[NTG-context] Re: Japanese

2024-02-28 Thread Wolfgang Schuster
, and all affected characters are listed here: https://www.w3.org/TR/jlreq/tables/table_en3.pdf We have different rules, depending what kind of character is surpassing the text width (or is in its last position). Rule 1: Before closing brackets, closing quotation marks, iteration marks

[NTG-context] Re: Japanese

2024-02-28 Thread Emanuel Han via ntg-context
/jlreq/tables/table_en3.pdf We have different rules, depending what kind of character is surpassing the text width (or is in its last position). Rule 1: Before closing brackets, closing quotation marks, iteration marks, the Prolonged sound mark and small Kana, line breaking is prohibited. ’”)〕]}〉》」』】ヽヾ

[NTG-context] Re: Two bugs with descriptions in ConTeXt.

2024-02-13 Thread Wolfgang Schuster
it is, and the description is placed next to it. But what happens is that the bullet is shifted to the right, making it overlap with the description's head, which isn't pretty. Is this even a real world example? The reason why the bullet points are at the wrong position is that descriptions and items use the same

[NTG-context] Re: multipage metapost output from ConTeXt

2024-01-06 Thread Emanuel Han via ntg-context
o p[k]; endfor > setbounds currentpicture to TheFrame ; > > desiredformat := 1080;% In pixels (will be converted by default at 72dpi) > currentpicture := currentpicture xysized (desiredformat ,desiredformat ); > \stopMPpage > } > > \stoptext > /Mikael > On Sat, Dec 2, 20

[NTG-context] Re: (again) wrong destination types?

2023-12-04 Thread Bruce Horrocks
footnote, your point b) > has destination to fit the whole page inside the viewer. > > The second link (footnote to body, your point c) has the destination to > reach a position inside the page (where the destination lies). This is > what "focus=standard" should achieve. > &

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-04 Thread Fabrice L
Dear Emanuel, > Le 2 déc. 2023 à 12:08, Emanuel Han via ntg-context a > écrit : > > Hi Mikael, > > here's a very simple mwe for the label(textext()) issue. On page 1, the text > "Word 1" should be drawn in position z1. On page 2, the same text in the sam

[NTG-context] Re: (again) wrong destination types?

2023-12-03 Thread Pablo Rodriguez via ntg-context
ur fast reply, Bruce. I wanted to reply much sooner, but it was really impossible for me. >From your explanation, the first link (body to footnote, your point b) has destination to fit the whole page inside the viewer. The second link (footnote to body, your point c) has the destination to reach

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Emanuel Han via ntg-context
ntpicture := currentpicture xysized (desiredformat ,desiredformat ); > \stopMPpage > } > > \stoptext > /Mikael > On Sat, Dec 2, 2023 at 6:14 PM Emanuel Han via ntg-context > wrote: > > > > Hi Mikael, > > > > here's a very simple mwe for the label(textext())

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Mikael Sundqvist
72dpi) currentpicture := currentpicture xysized (desiredformat ,desiredformat ); \stopMPpage } \stoptext /Mikael On Sat, Dec 2, 2023 at 6:14 PM Emanuel Han via ntg-context wrote: > > Hi Mikael, > > here's a very simple mwe for the label(textext()) issue. On page 1, the text

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Emanuel Han via ntg-context
Hi Mikael, here's a very simple mwe for the label(textext()) issue. On page 1, the text "Word 1" should be drawn in position z1. On page 2, the same text in the same position should be visible, and the text "Mot 2" in position p2 should be added. And so on. \startMPinclusio

[NTG-context] Re: xmlpos values doubled

2023-11-22 Thread Hans Hagen
, it seems that \xmlpos{#1} returns duplicate values. This might indeed be the intended meaning of \xmlpos{#1} as it seems related to the XML query foo/bar/index() which only looks up the position in the parent node. (I noticed that if I run this repeatedly, I get somehow different values from times

[NTG-context] Re: xmlpos values doubled

2023-11-21 Thread Benjamin Buchmuller
This might indeed be the intended meaning of \xmlpos{#1} as it seems related to the XML query foo/bar/index() which only looks up the position in the parent node. (I noticed that if I run this repeatedly, I get somehow different values from times to times. I can't say why.) Anyways, I was

[NTG-context] Drawing calligraphy practice grid in metafun

2023-11-20 Thread Andres Conrado Montoya
dsc ; dsc := 3 ; % Total height of a writing line in mm (including asc, med, and dsc) numeric lineHeight ; lineHeight = (asc + med + dsc) * nib ; % Available lines on a page numeric availableLines ; availableLines = round(box / lineHeight) - 1 ; % Starting position numeric start ;

[NTG-context] Re: context not producing synctex output that my synctex program can use

2023-11-15 Thread Jim
efficient) >> Unfortunately, it’s not a drop-in replacement, so it doesn’t work with >> most editors. (I was thinking about a translating wrapper script, but >> didn’t do anything yet.) >> AFAIK TeXshop (MacOS) is the only TeX editor that supports ConTeXt’s >> workflow. &

[NTG-context] Re: context not producing synctex output that my synctex program can use

2023-11-12 Thread Hans Hagen
the file/line that relates to the position; this is more reliable because there is no need to recompile a viewer when synctex updates you can run mtxrun --script synctex on the synctex file and check what areas are there ConTeXt’s synctex format is much simpler than the “standard” LaTeX one

[NTG-context] Re: numbered itemize list item label alignment

2023-10-19 Thread Csikos Bela
mize > > \stoptext > > You can use the width-key to set a value for the number, below is a example > for method > to calculate the width based on the number of items but I would use fixed > value > (e.g. width=2em) to let all items (independent of the entries) start on the &g

[NTG-context] Re: numbered itemize list item label alignment

2023-10-15 Thread Aditya Mahajan
itemize[n,broad][itemalign=flushright] > > \dorecurse{250}{\item } > > \stopitemize > > \stoptext > > You can use the width-key to set a value for the number, below is a example > for method > to calculate the width based on the number of items but I would use fixed &

[NTG-context] Re: numbered itemize list item label alignment

2023-10-15 Thread Wolfgang Schuster
to calculate the width based on the number of items but I would use fixed value (e.g. width=2em) to let all items (independent of the entries) start on the same position. \defineexpandable\ItemWidth   {\ifnum\lastcountervalue[itemgroup:itemize]>99 \widthofstring{000.}%    \orelse\if

[NTG-context] Finding the position of an image on the page.

2023-10-01 Thread peter.hopcroft--- via ntg-context
Hello list, Can I find the position of an image on the page after I have placed the image with \externalfigure? For example, the top, left corner of the image might be 50 mm in from left side of page and 120 mm down from the top of the page. I know I can use \getfiguredimensions to find

[NTG-context] Re: Different behavior of \clf_lastypos vs \clf_lastxpos

2023-09-17 Thread Hans Hagen
point. With Lua, adding, subtracting, or multiplying two integers will give you an integer, but dividing gives you a float. So somewhere in the backend, the vertical position is probably divided but the horizontal position is only added or subtracted. To fix this, change lines 2344--2345 of anch

[NTG-context] Re: Different behavior of \clf_lastypos vs \clf_lastxpos

2023-09-17 Thread Max Chernoff
l point. With Lua, adding, subtracting, or multiplying two integers will give you an integer, but dividing gives you a float. So somewhere in the backend, the vertical position is probably divided but the horizontal position is only added or subtracted. To fix this, change lines 2344--2345 of anch-pos.lm

[NTG-context] Re: streams reversed?

2023-09-15 Thread jbf
and Chapter 1, again it works, except that the positions of the languages are reversed, so I end up with vi on the left and en on the right. By Chapter 2 we are back to the correct position once more (en left and vi right). I want to know why this is happening, and if I can prevent it happening.

[NTG-context] Re: streams reversed?

2023-09-15 Thread Hamid,Idris
anguages are reversed, so I end up with vi on the left and en on the right. By Chapter 2 we are back to the correct position once more (en left and vi right). I want to know why this is happening, and if I can prevent it happening. I've modified the sample code you got from Wolfgang to include chap

[NTG-context] Re: streams reversed?

2023-09-14 Thread jbf
of the languages are reversed, so I end up with vi on the left and en on the right. By Chapter 2 we are back to the correct position once more (en left and vi right). I want to know why this is happening, and if I can prevent it happening. I've modified the sample code you got from Wolfgang to include

[NTG-context] Re: streams reversed?

2023-09-14 Thread Bruce Horrocks
On 13 Sep 2023, at 07:47, jbf wrote: > > When I come to bodymatter and Chapter 1, again it works, except that the > positions of the languages are reversed, so I end up with vi on the left and > en on the right. By Chapter 2 we are back to the correct position once more >

[NTG-context] streams reversed?

2023-09-13 Thread jbf
) in frontmatter. When I come to bodymatter and Chapter 1, again it works, except that the positions of the languages are reversed, so I end up with vi on the left and en on the right. By Chapter 2 we are back to the correct position once more (en left and vi right). I want to know why

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-21 Thread Carlos
cont-yes.mkiv with the newer equivalent. And you're right though. > > \starttext is not even needed most of the times. > Wolfgang tries to educate you ... starttext is the anchor for checking if a > bodyfont has been defined and if not it kicks in some default. > > Now with that s

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-20 Thread Hans Hagen
the internals, objectives and implementation. So, let me put it a bit stronger: if Wolfgang gives you an answer that you don't like, you should be very careful in your answering because there is very little change that he's wrong. To stress his position here: if he sends me a patch I can merge

[NTG-context] unsubscribe

2023-08-18 Thread Thomas Floeren via ntg-context
ts occur, then it follows that any control sequence >>> kerning >>> also gets thrown off as a result. >> >> Of course the width influences the spacing. That is how the paragraph >> builder works (and really, why it often looks good). >> >>>

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-18 Thread Carlos
file, document, minimal > > > working example that does not load cmr at the outset does not produce > > > an acceptable outcome either. By saying acceptable I meant to say it > > > namely from a typographical point of view. Nothing else. > > > > I have no clue of what yo

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-18 Thread Carlos
ceptable outcome either. By saying acceptable I meant to say it > > namely from a typographical point of view. Nothing else. > > I have no clue of what you talk about here. > > > > > from the TeXbook 380-381 > > > > «\obeylines doesn’t say ‘\def^^M{\par}’, so we must make any

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-18 Thread Carlos
ny standalone file, document, minimal > > working example that does not load cmr at the outset does not produce > > an acceptable outcome either. By saying acceptable I meant to say it > > namely from a typographical point of view. Nothing else. > > I have no clue of what you talk about h

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-18 Thread Mikael Sundqvist
what you talk about here. > > from the TeXbook 380-381 > > «\obeylines doesn’t say ‘\def^^M{\par}’, so we must make any desired changes > to > \par before invoking \obeylines. (2) The \uncatcodespecials operation changes > a > space to category 12; but the \tt font

[NTG-context] redefine space to be the same as \␣ similar to knuthian approach

2023-08-18 Thread Carlos
the character ‘␣’ in the ⟨space⟩ position, so we don’t really want ␣12 . (3) The \obeyspaces macro in Appendix B merely changes the ⟨space⟩ character to category 13; active character ␣13 has been defined to be the same as \space, a macro that expands to ␣10 . This is usually what is desired; for example

[NTG-context] Re: disable header for endnotes

2023-08-16 Thread Rik Kabel
}\hfill}][] [\setups{middle}][] How do I deal with the \placefootnotes command so that it ignores this and either gives me no header, or perhaps a new header with 'Notes' in place of [section] (which is achieved in centered position with setups[middle])? Julian I use the following for a notes

[NTG-context] disable header for endnotes

2023-08-16 Thread jbf
do I deal with the \placefootnotes command so that it ignores this and either gives me no header, or perhaps a new header with 'Notes' in place of [section] (which is achieved in centered position with setups[middle])? Julian

[NTG-context] Re: Link from a PDF to a reference of an embedded PDF

2023-07-24 Thread Aditya Mahajan
. > I'll try to rephrase. Maybe it gets more clear then. I think, named > destinations could be a important part in the solution. > > I'm do not know the structure of PDFs exactly, therefore some of my > terms might be wrong. I'll name the two things from now on the following > way: >

[NTG-context] Re: Link from a PDF to a reference of an embedded PDF

2023-07-24 Thread Gerion Entrup
ons could be a important part in the solution. I'm do not know the structure of PDFs exactly, therefore some of my terms might be wrong. I'll name the two things from now on the following way: - a destination: This is a defined position within a PDF document; so some position that a PDF viewer is a

[NTG-context] Re: Text item groups

2023-07-16 Thread Pablo Rodriguez
On 7/15/23 21:46, Jairo A. del Rio wrote: > Hi, list! I want to know how to make numbers in text item groups run > along with text (for instance, wrt indentation) regardless of their > position in text. In the following example: Hi Jairo, alignsymbol=yes might be what you need (if I’

[NTG-context] Re: Text item groups

2023-07-16 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 15.07.2023 um 21:46: Hi, list! I want to know how to make numbers in text item groups run along with text (for instance, wrt indentation) regardless of their position in text. In the following example: \setupindenting[yes,medium] \starttext \startitemize[a,text

[NTG-context] Re: Text item groups

2023-07-16 Thread Bruce Horrocks
em \startitem \input{jojomayer}\stopitem \startitem \input{jojomayer}\stopitem \stopitemize \stoptext > On 15 Jul 2023, at 20:46, Jairo A. del Rio wrote: > > Hi, list! I want to know how to make numbers in text item groups run along > with text (for instance, wrt indentati

[NTG-context] Text item groups

2023-07-15 Thread Jairo A. del Rio
Hi, list! I want to know how to make numbers in text item groups run along with text (for instance, wrt indentation) regardless of their position in text. In the following example: \setupindenting[yes,medium] \starttext \startitemize[a,text][textdistance=none] \startitem \input{jojomayer

[NTG-context] position in xmlfilter

2023-05-22 Thread Hans van der Meer via ntg-context
I do not understand the behaviour of certain function is xml processing. My problem is finding the position of the current node, for example with I would like to see the first resulting in 1 and the second in 2. The result of some experiments: return=[\xmlfilter{#1}{../tag

[NTG-context] Trial to use LibreOffice Calc (+ python) to build ConTeXt customized environnements files

2023-04-10 Thread Garulfo via ntg-context
tup sectionning ==> env_B14_section.tex - Options are categorized - 01-Style - 02-Numbering - 03-Position (not yet clear) - 04-Insert - 05-Reference - 06-commands - one sheet to setup layout ==> env_A01_layout.tex - one sheet to setup font==> env_A

Re: [NTG-context] Text editors

2023-03-28 Thread Jan-Erik Hägglöf via ntg-context
iewer" in "TeXshop style”. C-å Build document and C-c C-v for fast preview in Skim Something to start playing with below to put in your init.el file ;; This is for getting preferred position and size of the emacs editor frame (add-to-list 'default-frame-alist '(top . 25)) (add-to-list

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-17 Thread Keith McKay via ntg-context
to absolutely position these images on the page. Thanks again for your help! Best Wishes Keith McKay On 16/03/2023 17:58, Pablo Rodriguez via ntg-context wrote: On 3/16/23 17:59, Keith McKay via ntg-context wrote: Hi, I would like to position a combination of images where the centre

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Keith McKay via ntg-context
3.2023 um 17:59: > > > > > > Hi, > > > > > > I would like to position a combination of images where the centre > > > of the combination coincides with the centre of the text area of a > > > page. In the example below I have made the combination into a layer &

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Alan Braslau via ntg-context
On Thu, 16 Mar 2023 18:27:53 +0100 Wolfgang Schuster via ntg-context wrote: > Keith McKay via ntg-context schrieb am 16.03.2023 um 17:59: > > > > Hi, > > > > I would like to position a combination of images where the centre > > of the combination coincides

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Pablo Rodriguez via ntg-context
On 3/16/23 17:59, Keith McKay via ntg-context wrote: > Hi, > > I would like to position a combination of images where the centre of the > combination coincides with the centre of the text area of a page. Hi Keith, I think the following sample might achieve what you want:

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Wolfgang Schuster via ntg-context
Keith McKay via ntg-context schrieb am 16.03.2023 um 17:59: Hi, I would like to position a combination of images where the centre of the combination coincides with the centre of the text area of a page. In the example below I have made the combination into a layer thinking that this would

[NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Keith McKay via ntg-context
Hi, I would like to position a combination of images where the centre of the combination coincides with the centre of the text area of a page. In the example below I have made the combination into a layer thinking that this would be the easiest way to position it where I wanted. However

[NTG-context] Subject: Leading spaces verbatim

2023-01-27 Thread Kalouguine Andre via ntg-context
). Hence, my three questions: - Is it even realistic to make such a typing environment? - What would be the best path to do so? - Can someone recommend some reading material specifically about this kind of typographical adjustments using LuaTex? Stuff like adjusting the glyphs's position

Re: [NTG-context] Change in \vec behavior

2023-01-22 Thread Mikael Sundqvist via ntg-context
e{$\vec{AB}$} : $\vec{AB}$ > \stoptext > > The result with the latest ConTeXt version: > > > > and with the version from a year ago: > > > > I am aware that I could use \overrightarrow, but I prefer the shape and > position of the \vec arrow, especially with single le

Re: [NTG-context] Change in \vec behavior

2023-01-22 Thread Jean-Philippe Rey via ntg-context
ollé-2.pdf Description: Adobe PDF document I am aware that I could use \overrightarrow, but I prefer the shape and position of the \vec arrow, especially with single letters. GraphiqueCollé-3.pdf Description: Adobe PDF document GraphiqueCollé-4.pdf Description: Adobe PDF document What is the rat

Re: [NTG-context] Meta(post)/(fun) macro with label position

2023-01-19 Thread Alexandre Christe via ntg-context
Thank you so much Alan, that was exactly what I was looking for. Le ven. 20 janv. 2023 à 01:56, Alan Braslau a écrit : > On Thu, 19 Jan 2023 22:40:13 +0100 > Alexandre Christe via ntg-context wrote: > > > def labelT(expr pos)(text t) = > > ... > > enddef; > > vardef labelT@#(text t) = >

Re: [NTG-context] Meta(post)/(fun) macro with label position

2023-01-19 Thread Alan Braslau via ntg-context
On Thu, 19 Jan 2023 22:40:13 +0100 Alexandre Christe via ntg-context wrote: > def labelT(expr pos)(text t) = > ... > enddef; vardef labelT@#(text t) = ... enddef ; Then you can pass on the "suffix" @# Alan ___

Re: [NTG-context] Meta(post)/(fun) macro with label position

2023-01-19 Thread Jeong Dal via ntg-context
Dear Alex, I don’t know what you want exactly. I hope that it may help. \startMPpage def myLabel(expr xpos, ypos)(text t) = dotlabel.top(textext(t),(xpos,ypos)); enddef; myLabel(1cm, 1cm, "Position"); \stoppage Good luck. Be

[NTG-context] Meta(post)/(fun) macro with label position

2023-01-19 Thread Alexandre Christe via ntg-context
Dear list, Is there a way in a Meta(post)/(fun) macro to specify the label position as an argument? def labelT(expr pos)(text t) = ... enddef; Thanks a lot in advance, Alex ___ If your question is of interest

Re: [NTG-context] New c-o-w: The XMas gift for ConTeXt users

2022-12-27 Thread Willi Egger via ntg-context
-Paper, I think for a normal user it should be A4 on A4 paper. The default layout dimension is in pt. — I doubt whether this is the best for a newcomer. May be mm would be better? — After returning to the editor I detected, that the new layout is placed at the cursor's position. Might it be a good

[NTG-context] Change in \vec behavior

2022-12-18 Thread Jean-Philippe Rey via ntg-context
{AB}$ \stoptext The result with the latest ConTeXt version: GraphiqueCollé-1.pdf Description: Adobe PDF document and with the version from a year ago: GraphiqueCollé-2.pdf Description: Adobe PDF document I am aware that I could use \overrightarrow, but I prefer the shape and position

[NTG-context] Perceptrons

2022-10-16 Thread Thangalin via ntg-context
le scaled vertex_lg; ); addto perceptrons also image( numeric vangle; numeric vc; numeric vr; numeric sc; numeric sr; vi := round( degrees( atantwo( vac, var, vbc, vbr ) ) / 60 ); % Compute direction towards the first segment (to vertex of

[NTG-context] How to get line numbering to match block quote position?

2022-10-10 Thread Joel via ntg-context
I have some text that is a block quote, but also has line numbering:     \setuplinenumbering[step=3]    \starttext    \startblockquote             \startlinenumbering                 \input knuth             \stoplinenumbering         \stopblockquote \stoptext The line numbering is

Re: [NTG-context] Math alignment problem

2022-09-22 Thread Jan-Erik Hägglöf via ntg-context
ntg.nl>> a écrit : > Dear List! > > I do not know how to solve this issue. > > I want the formulas appear on same height, as you can se on the attachment > the formula containing a fraction displaces on another vertical position > compared to the other equations. > >

Re: [NTG-context] Math alignment problem

2022-09-22 Thread Alexandre Christe via ntg-context
12:57, Jan-Erik Hägglöf via ntg-context < ntg-context@ntg.nl> a écrit : > Dear List! > > I do not know how to solve this issue. > > I want the formulas appear on same height, as you can se on the attachment > the formula containing a fraction displaces on another vert

[NTG-context] Math alignment problem

2022-09-22 Thread Jan-Erik Hägglöf via ntg-context
Dear List!I do not know how to solve this issue.I want the formulas appear on same height, as you can se on the attachment the formula containing a fraction displaces on another vertical position compared to the other equations.How do I correct this?Code snippet pasted from garden\starttext

Re: [NTG-context] Clipping multiple PDFs

2022-08-22 Thread Jethro Djan via ntg-context
fying the individual files themselves. >> [...] >> The problem is the original page numbers show and I’d prefer that it >> did not. So I thought maybe I could clip all the page numbers from >> every page (since they are all in the same position across all the >> pages

Re: [NTG-context] Clipping multiple PDFs

2022-08-22 Thread Jethro Djan via ntg-context
The problem is the original page numbers show and I’d prefer that it >> did not. So I thought maybe I could clip all the page numbers from >> every page (since they are all in the same position across all the >> pages) but I don’t know how to do this with the \clip command. Any

Re: [NTG-context] Clipping multiple PDFs

2022-08-22 Thread Jethro Djan via ntg-context
that it did not. So I thought maybe I could clip all the page numbers from every page (since they are all in the same position across all the pages) but I don’t know how to do this with the \clip command. Any ideas? I already tried using \input but it gives some weird output in some places. It d

Re: [NTG-context] Clipping multiple PDFs

2022-08-21 Thread Pablo Rodriguez via ntg-context
it > did not. So I thought maybe I could clip all the page numbers from > every page (since they are all in the same position across all the > pages) but I don’t know how to do this with the \clip command. Any > ideas? I already tried using \input but it gives some weird output in > so

[NTG-context] Clipping multiple PDFs

2022-08-17 Thread jethro Reuel via ntg-context
show and I’d prefer that it did not. So I thought maybe I could clip all the page numbers from every page (since they are all in the same position across all the pages) but I don’t know how to do this with the \clip command. Any ideas? I already tried using \input but it gives some weird output

Re: [NTG-context] Metafun : save memory content ?

2022-07-19 Thread Fabrice L via ntg-context
[2] := 9 ; > done[6][5] := 10 ; > > I think, with a bit of judicious use of "write" statements to add some > ConTeXt / MP setup code, it would be possible to include the output from the > previous run as MP source of the next run. > > Hope this helps, or at least provides

Re: [NTG-context] Metafun : save memory content ?

2022-07-18 Thread Fabrice L via ntg-context
I can do 60 files of 30 pages, for an animation of 60 seconds >> (1800 frames for 1 minute). Everything is smoother this way, quicker to >> convert files. But in order to do so, I have to be able to describe each >> frame of the animation with the same set of instructions; so the

Re: [NTG-context] Metafun : save memory content ?

2022-07-18 Thread Hans van der Meer via ntg-context
to >> convert files. But in order to do so, I have to be able to describe each >> frame of the animation with the same set of instructions; so the position of >> an object at time t is described by an equation for example. >> But this is not always possible. If the animation is

Re: [NTG-context] Metafun : save memory content ?

2022-07-18 Thread Hans Hagen via ntg-context
to describe each frame of the animation with the same set of instructions; so the position of an object at time t is described by an equation for example. But this is not always possible. If the animation is based on a random process, the position of an object at time t depends on his position at time

[NTG-context] Metafun : save memory content ?

2022-07-18 Thread Fabrice L via ntg-context
of instructions; so the position of an object at time t is described by an equation for example. But this is not always possible. If the animation is based on a random process, the position of an object at time t depends on his position at time t-1. I can still use this preceeding strategy

[NTG-context] Malfunctioning of syllabic partitioning of words in Spanish

2022-07-06 Thread Joaquín Ataz López via ntg-context
ossible that something has been changed in the Spanish language module? I do not know Lua and therefore I am not in a position to correct the corresponding module on my own, but I could synthesize the syllable partitioning rules for those who can, if they do not speak Spanish

[NTG-context] Graded Transparency in MetaFun

2022-06-30 Thread Keith McKay via ntg-context
  draw lmt_text [     text = "opaque",     color = "black",     style = "bold", anchor = "lft", position = (-1mm,2mm),     ] xsized .95TextWidth ysized 7cm shifted(22cm,(k - 2)*cm);     t := (1cm, k*cm) -- (20cm, k*cm); %Square opaque area    

Re: [NTG-context] Achieving the style of Jean-Luc Doumont

2022-05-20 Thread Susanne G. Loeber via ntg-context
thousiasts eager to help. (Thanks Aditya.) > I know the question is pretty general, but any pointers would be welcome. > Maybe the first thing useful would be the grid and how to position > everything in accordance with it. I envisioned this thread more for > discussion and suggestions t

Re: [NTG-context] Achieving the style of Jean-Luc Doumont

2022-05-16 Thread Aditya Mahajan via ntg-context
generation. To > me data I/O is not an issue since I would use a Python script to generate the > markup. You can use layers to position things anywhere on a page. The keys `lines=..., columns=...` work almost like a grid. See the details manual f

[NTG-context] Achieving the style of Jean-Luc Doumont

2022-05-16 Thread Stefan Nedeljkovic via ntg-context
is pretty general, but any pointers would be welcome. Maybe the first thing useful would be the grid and how to position everything in accordance with it. I envisioned this thread more for discussion and suggestions than a complete recreation of his ideas. As I learn Context and Metapost, I hope I

[NTG-context] \placenotes ends up in wrong place when mixing one- and two- column layouts.

2022-05-10 Thread Zhichu Chen via ntg-context
but in wrong position. I hope there's another magic switch, or I have to put the marks in the title head and put "real" but invisible notes in the two-column texts. Thanks again, Hans. Yours, Zhichu MWE (not that minimal): === \defineno

  1   2   3   4   5   6   7   8   9   10   >